<template>
  <div>
    <!-- 配置按钮 -->
    <el-button type="primary" icon="el-icon-setting" @click="showPIAccountDialog">
      PI账户信息配置
    </el-button>

    <!-- PI账户信息管理插件 -->
    <crmpiaccountinfo
      :visible.sync="piAccountVisible"
      @close="piAccountVisible = false"
    />
  </div>
</template>

<script>
import Crmpiaccountinfo from './crmpiaccountinfo'

export default {
  name: 'ExampleUsage',
  components: {
    Crmpiaccountinfo
  },
  data() {
    return {
      piAccountVisible: false
    }
  },
  methods: {
    showPIAccountDialog() {
      this.piAccountVisible = true
    }
  }
}
</script>

<style scoped>
</style>
